﻿#include"XQLabelButton.h"
#include<QPushButton>
#include<QLabel>
#include<QMouseEvent>
#include<QDebug>
void XQLabelButton::resizeEvent(QResizeEvent* event)
{
	int width = m_text->height();
	m_icon->setFixedWidth(width);
	/*m_text->setFixedHeight(height());*/
	m_clsBtn->setFixedWidth(width);
	/*m_clsBtn->move(width()-height(), 0);*/
}


